OBJS_TIMER=timer.o
OBJS_TIMER_ALARM=timer_alarm.o
OBJS_POSIX_TIMER=posix_timer.o
CC=gcc
CFLAGS= -Wno-unused-result -O -g

timer : $(OBJS_TIMER)
	$(CC) $(OBJS_TIMER) -o ../out/timer

timer_alarm : $(OBJS_TIMER_ALARM)
	$(CC) $(OBJS_TIMER_ALARM) -o ../out/timer_alarm
	
posix_timer : $(OBJS_POSIX_TIMER)
	$(CC) $(OBJS_POSIX_TIMER) -lrt -o ../out/posix_timer
	
clean:
	rm -f *.o


